Tourfic\Classes\Apartment\Pricing D

Total Complexity 148
Dependencies 6
Dependents 10
Total lines 417
Lines of code 308
Logical lines of code 187
Comment lines 11
Methods 26
Properties 17

Methods 26

Method Rating Maintainability Complexity Lines of code
get_min_max_price_from_all_apartment()
B
40 24 53
get_min_max_price()
B
44 22 41
set_apartment_price()
A
46 16 34
set_additional_fees()
A
48 13 30
set_dates()
A
54 11 17
set_total_price()
S
54 7 21
get_min_price()
S
58 6 14
get_availability()
S
59 6 12
get_discount()
S
63 5 9
get_min_price_html()
S
58 4 15
calculate_discount()
S
62 4 11
set_persons()
S
66 4 8
get_fees()
S
79 2 3
get_persons()
S
79 2 3
get_days()
S
79 2 3
get_apartment_price()
S
79 2 3
get_total_price()
S
79 2 3
get_total_price_html()
S
78 2 3
get_adult_price()
S
79 2 3
get_adult_sale_price()
S
79 2 3
get_child_price()
S
79 2 3
get_child_sale_price()
S
79 2 3
get_infant_price()
S
79 2 3
get_infant_sale_price()
S
79 2 3
instance()
S
80 1 3
__construct()
S
75 1 4